#ifndef ADMPROTO_H
#define ADMPROTO_H

class AdminPipe;

class AdminProtocol
{
	public:
		AdminProtocol(AdminPipe* Pipe);
		virtual ~AdminProtocol();

		virtual void handle(uint8* Msg, int32 Len) = 0;
		virtual void reset();

	protected:
		AdminPipe* pipe;
};

inline
AdminProtocol::AdminProtocol(AdminPipe* Pipe)
{
	pipe = Pipe;
}

inline
AdminProtocol::~AdminProtocol()
{
}

inline void
AdminProtocol::reset()
{
}

#endif
